import React from 'react';
import { useParams } from 'react-router-dom';

const ProductDetail = () => {
  const { id } = useParams();
  
  return (
    <div className="product-detail">
      <h1>商品详情</h1>
      <div className="product-info">
        {/* 这里可以添加商品详细信息 */}
      </div>
    </div>
  );
};

export default ProductDetail; 